{extend name="base" /}
{block name="title"}历史资料{/block}
{block name="static"}
<link rel="stylesheet" type="text/css" media="screen" href="/static/pc/css/select.css"/>
{/block}
{block name="bread"}
<div class="bread-cram">
  <div class="bread-cram-inner">
    <span class="title">保险公司使用</span>
    <span class="sub-title">- 历史资料</span>
  </div>
</div>
{/block}

{block name="main"}
          <div class="menu-content left">
            <div class="search-bar">
              <div class="search-box">
                <input type="search" class="search-bar__input" id="searchInput" placeholder="搜索" required=""/>
              </div>
              <div class="clear"></div>
            </div>
            <ul class="rep-recorder-list" id="addHtml">
                           <!--<li class="rep-recorder-list-item">-->
              <!--<div class="left">-->
              <!--<p>报案号：<span>14566666666</span></p>-->
              <!--<p>-->
              <!--<span class="grey">2018-09-09</span>-->
              <!--<span class="grey">12:30:00</span>-->
              <!--</p>-->
              <!--</div>-->
              <!--<div class="right">-->
              <!--<a class="status grey"-->
              <!--&gt;驳回修改 <i class="iconfont-arrow">&#xe64d;</i></a-->
              <!--&gt;-->
              <!--</div>-->
              <!--</li>-->

            </ul>
          </div>
          <div class="clear"></div>
<input type="hidden" value="{$Think.get.type}" name ='type'>
          {/block}




{block name="js"}
<script type="text/javascript">
    var typea = $("input[ name='type']").val();

    $(function() {
        getList('',typea)
        $('#searchInput').bind('input propertychange', function() {
            var num= $('#searchInput').val();

            getList(num,typea);

        });
        function getList(num,type){
            var url="{:url('insurer/getListAjax')}?policy_num="+num+'&type='+type+'&t='+ new Date().getTime()
            $.get(url,function(data,status){
                $('#addHtml').html(data)
            });
        }

    })

</script>
{/block}
